define(function(require) {
  var app = angular.module('myApp', ['ui.router']);

  app.controller('registerController', function($scope, $http) {
  	console.info("=========register controller===========");
    $scope.person = {
      username: 'firstName',
      password: '123321'
    };
  });
});